﻿#region using
using Linq2Crm.ObjectModel.Attributes;

#endregion

namespace SLApp_Test.Model
{
   [CrmEntityMapping("transactioncurrency", "currencyname", "transactioncurrencyid")]
   public class Currency : BaseEntity
   {
      [CrmFieldMapping("isocurrencycode")]
      public string IsoCode { get; set; }

      [CrmFieldMapping("currencyprecision")]
      public int Precision { get; set; }

      [CrmFieldMapping("currencysymbol")]
      public string Symbol { get; set; }

      [CrmFieldMapping("exchangerate")]
      public decimal ExchangeRate { get; set; }
   }
}